from django.contrib import admin
from .models import myTask
# Register your models here.

class myTaskAdmin(admin.ModelAdmin):
    list_display = ('apk_name', 'detect_time', 'total_msg_num', 'harmful_msg_num', 'task_id', 'report_url')
    list_filter = ['detect_time']
    search_fields = ['apk_name']
    list_per_page = 50

admin.site.register(myTask, myTaskAdmin)